#ifndef __EEPROM_DRIVER_H__
#define __EEPROM_DRIVER_H__

#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include <string.h>

#include "common_debug.h"

/* Function declarations */
rt_err_t eeprom_init(void);
rt_err_t eeprom_read(uint16_t addr, uint8_t *data, uint16_t len);
rt_err_t eeprom_write(uint16_t addr, uint8_t *data, uint16_t len);

#endif /* __EEPROM_DRIVER_H__ */
